package com.atguigu.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @Author hg
 * @CreatedTime 2020-10-05-11:01
 */
@Data
public class DemoDataExcel {
    // 设置excel表头的名称。
    @ExcelProperty(value = "学生编号", index = 0)
    private Integer sno;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
